package com.example.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.user.mapper.AclPermissionMapper;
import com.example.model.acl.pojos.Acl_permission;
import com.example.user.service.AclPermissionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
@Slf4j
public class AclPermissionServiceImpl extends ServiceImpl<AclPermissionMapper, Acl_permission> implements AclPermissionService {

    @Autowired
    AclPermissionMapper aclPermissionMapper;


    @Override
    public List<String>  selectPermissionValueByUserId(String id) {
        return aclPermissionMapper.selectPermissionValueByUserId(id);
    }
}
